package com.tabjin.rfidsocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
// 扫描 mybatis 通用 mapper 所在的包
@MapperScan(basePackages = {"com.tabjin.rfidsocket.mapper.mapper.", "com.tabjin.rfidsocket.authority.shiro.mapper."})
//@ComponentScan(basePackages = "com.tabjin.rfidsocket")
@ComponentScan(basePackages = {"com.tabjin.rfidsocket", "com.tabjin.rfidsocket.common.org.n3r.idworker"})
@ServletComponentScan(basePackages = {"com.tabjin.rfidsocket.authority.filter"})
public class RfidSocketApplication {

    public static void main(String[] args) {
        SpringApplication.run(RfidSocketApplication.class, args);
    }

}
